# # -*-coding:utf-8-*-
#
# # 定义判断函数
# def judge(grade):
#     if grade >= 0 and grade < 60:
#         print('E')
#     elif grade > 59 and grade < 70:
#         print('D')
#     elif grade > 69 and grade < 80:
#         print('C')
#     elif grade > 79 and grade < 90:
#         print('B')
#     elif grade > 89 and grade <= 100:
#         print('A')
#
# while 1:
#     grade = eval(input('请输入成绩：'))
#     if grade >= 101 or grade < -100:
#         print('over')
#         break
#     # 如果成绩小于0 负数 或者是小数  转换为正数
#     elif grade < 0 or isinstance(grade,float):
#         grade = grade + grade * -2
#         judge(grade)
#
#     elif grade >= 0:
#         judge(grade)
#
#
#
# # x = 0.5
# # print(isinstance(x,float))
#
